﻿using BLL.Interceptor;
using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;

namespace BLL.Installer
{
    public class InterceptorInstaller:IWindsorInstaller 
    {
        public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            container.Register(Component.For<ExceptionInterceptor>().LifestyleTransient());
        }
    }
}